First Do No Harm: Deferred Error Handling – A Curricular Approach to Exceptions
نویسنده
چکیده
This paper advocates the adoption of deferred error handling within computer science curricula. It argues that it is both a sound development strategy and aligns well with pedagogically. By deferring error handling, the student better appreciates its subtleties and its importance as an independent topic. This paper also includes other topics which may enhance curricula: an analysis of error reporting patterns, a taxonomy of error handlers, and factors influencing the selection of error reporting patterns. Much of the discussion is language independent, but specific attention is given to deferred handling of Java checked exceptions.
منابع مشابه
First, Do No Harm: A Curricular Approach to Exceptions Introducing Refactoring to Promote Reliability
This paper advocates the adoption of deferred error coding within computer science curricula. It argues that it is both a sound development strategy and aligns well pedagogically. By deferring specific error handling, the student better appreciates its subtleties and its importance as an independent topic, and will tend to create more reliable applications. This paper includes other topics whic...
متن کاملFirst, Do No Harm: A Curricular Approach to Exceptions
This paper advocates the adoption of deferred error coding within computer science curricula. It argues that it is both a sound development strategy and aligns well pedagogically. By deferring specific error handling, the student better appreciates its subtleties and its importance as an independent topic. This paper also includes other topics which may enhance curricula: taxonomies of exceptio...
متن کاملIntegrity Checking for Nested Transactions
In this paper, we present a mechanism to specify and to validate consistency constraints in object oriented databases. Constraints are speciied using pre and post-conditions associated with an exception handling mechanism. During transaction run-time, we treat exceptions corresponding to errors (in this case, we use immediate exceptions which are processed immediately) or presumption of errors ...
متن کاملA Novel Approach to Semantics-Based Exception Handling for Service Grid Applications
Whenever the characteristics of a service grid environment are addressed, issues related to openness and dynamism pop out first. Such issues do affect the definition and handling of application exceptions, and traditional approaches to exception handling lack in proper mechanisms for capturing exception semantics and handling exceptions. In this paper, after analyzing the newly arisen problems ...
متن کاملUnchecked Exceptions: Can the Programmer be Trusted to Document Exceptions?
The emergence of exception handling mechanisms in modern programming languages made available a different way of communicating errors between procedures. For years, programmers trusted in the correct documentation for error codes returned by procedures to correctly handle erroneous situations. Now, they have to focus on the documentation of exceptions for the same effect. But to which extent ca...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012